﻿using System;
using System.Collections.Generic;
using System.Text;
using Vbyte.SharpOrm.SqlDb;

namespace Vbyte.SharpOrm.Oracle
{
    /// <summary>
    /// 
    /// </summary>
    public class Database : ISqlDb
    {

        #region ISqlDb 成员

        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        /// <value></value>
        public string ConnectionString
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        /// <summary>
        /// 判定是否存在数据库
        /// </summary>
        /// <param name="dbname">数据库名或路径</param>
        /// <returns></returns>
        public bool ExsitsDb(string dbname)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 创建数据库
        /// </summary>
        /// <param name="dbname">数据库名或文件路径</param>
        public void CreateDb(string dbname)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 创建带密码的数据库(嵌入式数据库适用)
        /// </summary>
        /// <param name="dbname">数据库名或文件路径</param>
        /// <param name="dbpwd">数据库密码</param>
        public void CreateDb(string dbname, string dbpwd)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 删除数据库
        /// </summary>
        /// <param name="dbName">数据库名或路径</param>
        public void DropDb(string dbName)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 判定是否存在指定表名
        /// </summary>
        /// <param name="tabName">数据库表名</param>
        /// <returns></returns>
        public bool ExistsTable(string tabName)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 根据统一表定义创建表
        /// </summary>
        /// <param name="tabDefine">数据表定义</param>
        public void CreateTable(SqlTable tabDefine)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 删除数据库中的表
        /// </summary>
        /// <param name="tabName">数据库表名</param>
        public void DropTable(string tabName)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 对表的修改，执行原生的SQL语句
        /// </summary>
        /// <param name="NativeSql">原生的SQL语句</param>
        public void AlterTable(string NativeSql)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 判定是否存在指定的列名
        /// </summary>
        /// <param name="tabName">数据库表名</param>
        /// <param name="colName">数据表中的列名</param>
        /// <returns></returns>
        public bool ExistsColumn(string tabName, string colName)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 在指定表名中添加新的列
        /// </summary>
        /// <param name="tabName">数据库表名</param>
        /// <param name="column">数据列定义</param>
        public void AddColumn(string tabName, SqlTableColumn column)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 删除指定表名中的数据列
        /// </summary>
        /// <param name="tabName">数据库表名</param>
        /// <param name="colName">数据表中的列名</param>
        public void DropColumn(string tabName, string colName)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region IDisposable 成员

        /// <summary>
        /// 执行与释放或重置非托管资源相关的应用程序定义的任务。
        /// </summary>
        public void Dispose()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
